package com.i18n.plugin.core

import com.intellij.util.text.Matcher

/**
 *
 * @author tongxin
 * @date 2024/1/12 11:36
 */
class RegexFilePathMatcher(regex: String) : Matcher {
    private val regex: Regex

    init {
        this.regex = Regex(regex)
    }

    override fun matches(path: String): Boolean {
        return path.matches(this.regex)
    }

}